﻿<UserControl x:Class="DBSchemaViewer.FrontEnd.Main.AppUserControls.DiagramView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     
    >
    
    <ScrollViewer Width="900" Height="470" x:Name="ScrViewer" 
                  HorizontalScrollBarVisibility="Visible"  VerticalScrollBarVisibility="Visible"
                  Background="Gray">
    <Canvas 
        x:Name="LayoutRoot" Background="White" Width="2048" Height="1200"                 
        ScrollViewer.HorizontalScrollBarVisibility="Visible"
        ScrollViewer.VerticalScrollBarVisibility="Visible"        
     >
            <Canvas.RenderTransform>
                <ScaleTransform x:Name="stCurrentZoom" ScaleX="1" ScaleY="1"/>
            </Canvas.RenderTransform>            
     </Canvas>
    </ScrollViewer>
    
</UserControl>
